<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: pcl::registration::CorrespondenceRejectorDistance类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classpcl_1_1registration_1_1_correspondence_rejector_distance.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-types">Protected 类型</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="#pro-attribs">Protected 属性</a> &#124;
<a href="#pri-methods">Private 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="classpcl_1_1registration_1_1_correspondence_rejector_distance-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">pcl::registration::CorrespondenceRejectorDistance类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="correspondence__rejection__distance_8h_source.html">correspondence_rejection_distance.h</a>&gt;</code></p>
<div class="dynheader">
类 pcl::registration::CorrespondenceRejectorDistance 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classpcl_1_1registration_1_1_correspondence_rejector_distance.png" usemap="#pcl::registration::CorrespondenceRejectorDistance_map" alt=""/>
  <map id="pcl::registration::CorrespondenceRejectorDistance_map" name="pcl::registration::CorrespondenceRejectorDistance_map">
<area href="classpcl_1_1registration_1_1_correspondence_rejector.html" alt="pcl::registration::CorrespondenceRejector" shape="rect" coords="0,0,295,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:aea3c1936bc41767035b1b0eb3b1aa4d7"><td class="memItemLeft" align="right" valign="top"><a id="aea3c1936bc41767035b1b0eb3b1aa4d7"></a>
typedef boost::shared_ptr&lt; <a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html">CorrespondenceRejectorDistance</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Ptr</b></td></tr>
<tr class="separator:aea3c1936bc41767035b1b0eb3b1aa4d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82af5a8cca8d43101c40747a5e10e5b5"><td class="memItemLeft" align="right" valign="top"><a id="a82af5a8cca8d43101c40747a5e10e5b5"></a>
typedef boost::shared_ptr&lt; const <a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html">CorrespondenceRejectorDistance</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>ConstPtr</b></td></tr>
<tr class="separator:a82af5a8cca8d43101c40747a5e10e5b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_classpcl_1_1registration_1_1_correspondence_rejector"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classpcl_1_1registration_1_1_correspondence_rejector')"><img src="closed.png" alt="-"/>&#160;Public 类型 继承自 <a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector.html">pcl::registration::CorrespondenceRejector</a></td></tr>
<tr class="memitem:a192578d5c6faa199b6137f7052ebe3bd inherit pub_types_classpcl_1_1registration_1_1_correspondence_rejector"><td class="memItemLeft" align="right" valign="top"><a id="a192578d5c6faa199b6137f7052ebe3bd"></a>
typedef boost::shared_ptr&lt; <a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector.html">CorrespondenceRejector</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Ptr</b></td></tr>
<tr class="separator:a192578d5c6faa199b6137f7052ebe3bd inherit pub_types_classpcl_1_1registration_1_1_correspondence_rejector"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a364a36b29c665856a1819d7a42cf5154 inherit pub_types_classpcl_1_1registration_1_1_correspondence_rejector"><td class="memItemLeft" align="right" valign="top"><a id="a364a36b29c665856a1819d7a42cf5154"></a>
typedef boost::shared_ptr&lt; const <a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector.html">CorrespondenceRejector</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>ConstPtr</b></td></tr>
<tr class="separator:a364a36b29c665856a1819d7a42cf5154 inherit pub_types_classpcl_1_1registration_1_1_correspondence_rejector"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:acb413a3699d44c383c8fdd0b117108a6"><td class="memItemLeft" align="right" valign="top"><a id="acb413a3699d44c383c8fdd0b117108a6"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#acb413a3699d44c383c8fdd0b117108a6">CorrespondenceRejectorDistance</a> ()</td></tr>
<tr class="memdesc:acb413a3699d44c383c8fdd0b117108a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Empty constructor. <br /></td></tr>
<tr class="separator:acb413a3699d44c383c8fdd0b117108a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8eac52e65535385e9f831ea37d6ee62e"><td class="memItemLeft" align="right" valign="top"><a id="a8eac52e65535385e9f831ea37d6ee62e"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#a8eac52e65535385e9f831ea37d6ee62e">~CorrespondenceRejectorDistance</a> ()</td></tr>
<tr class="memdesc:a8eac52e65535385e9f831ea37d6ee62e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Empty destructor <br /></td></tr>
<tr class="separator:a8eac52e65535385e9f831ea37d6ee62e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d8cc832aeffd38fdbc1f42dbdac9bf3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#a7d8cc832aeffd38fdbc1f42dbdac9bf3">getRemainingCorrespondences</a> (const pcl::Correspondences &amp;original_correspondences, pcl::Correspondences &amp;remaining_correspondences)</td></tr>
<tr class="memdesc:a7d8cc832aeffd38fdbc1f42dbdac9bf3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a list of valid correspondences after rejection from the original set of correspondences.  <a href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#a7d8cc832aeffd38fdbc1f42dbdac9bf3">更多...</a><br /></td></tr>
<tr class="separator:a7d8cc832aeffd38fdbc1f42dbdac9bf3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86c67f088639814c85bef19e4d7409ad"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#a86c67f088639814c85bef19e4d7409ad">setMaximumDistance</a> (float distance)</td></tr>
<tr class="memdesc:a86c67f088639814c85bef19e4d7409ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the maximum distance used for thresholding in correspondence rejection.  <a href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#a86c67f088639814c85bef19e4d7409ad">更多...</a><br /></td></tr>
<tr class="separator:a86c67f088639814c85bef19e4d7409ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73d0b1dcf8b863b68272495d49ac1a2a"><td class="memItemLeft" align="right" valign="top"><a id="a73d0b1dcf8b863b68272495d49ac1a2a"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#a73d0b1dcf8b863b68272495d49ac1a2a">getMaximumDistance</a> ()</td></tr>
<tr class="memdesc:a73d0b1dcf8b863b68272495d49ac1a2a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the maximum distance used for thresholding in correspondence rejection. <br /></td></tr>
<tr class="separator:a73d0b1dcf8b863b68272495d49ac1a2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a325d264ca520c808117d41284c6e268f"><td class="memTemplParams" colspan="2">template&lt;typename PointT &gt; </td></tr>
<tr class="memitem:a325d264ca520c808117d41284c6e268f"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#a325d264ca520c808117d41284c6e268f">setInputCloud</a> (const typename <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::ConstPtr &amp;cloud)</td></tr>
<tr class="memdesc:a325d264ca520c808117d41284c6e268f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provide a source point cloud dataset (must contain XYZ data!), used to compute the correspondence distance. <br  />
  <a href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#a325d264ca520c808117d41284c6e268f">更多...</a><br /></td></tr>
<tr class="separator:a325d264ca520c808117d41284c6e268f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e0fe0309fac6f4f275990889769e402"><td class="memTemplParams" colspan="2">template&lt;typename PointT &gt; </td></tr>
<tr class="memitem:a8e0fe0309fac6f4f275990889769e402"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#a8e0fe0309fac6f4f275990889769e402">setInputSource</a> (const typename <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::ConstPtr &amp;cloud)</td></tr>
<tr class="memdesc:a8e0fe0309fac6f4f275990889769e402"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provide a source point cloud dataset (must contain XYZ data!), used to compute the correspondence distance. <br  />
  <a href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#a8e0fe0309fac6f4f275990889769e402">更多...</a><br /></td></tr>
<tr class="separator:a8e0fe0309fac6f4f275990889769e402"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3aa90c191badfdc9880c10ebfc6ed74"><td class="memTemplParams" colspan="2">template&lt;typename PointT &gt; </td></tr>
<tr class="memitem:ab3aa90c191badfdc9880c10ebfc6ed74"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#ab3aa90c191badfdc9880c10ebfc6ed74">setInputTarget</a> (const typename <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::ConstPtr &amp;target)</td></tr>
<tr class="memdesc:ab3aa90c191badfdc9880c10ebfc6ed74"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provide a target point cloud dataset (must contain XYZ data!), used to compute the correspondence distance. <br  />
  <a href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#ab3aa90c191badfdc9880c10ebfc6ed74">更多...</a><br /></td></tr>
<tr class="separator:ab3aa90c191badfdc9880c10ebfc6ed74"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca9273095ac3c7041db2748398eb0475"><td class="memItemLeft" align="right" valign="top"><a id="aca9273095ac3c7041db2748398eb0475"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#aca9273095ac3c7041db2748398eb0475">requiresSourcePoints</a> () const</td></tr>
<tr class="memdesc:aca9273095ac3c7041db2748398eb0475"><td class="mdescLeft">&#160;</td><td class="mdescRight">See if this rejector requires source points <br /></td></tr>
<tr class="separator:aca9273095ac3c7041db2748398eb0475"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2339ca9a92f1d3406a8aa3f6fb13368"><td class="memItemLeft" align="right" valign="top"><a id="ab2339ca9a92f1d3406a8aa3f6fb13368"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#ab2339ca9a92f1d3406a8aa3f6fb13368">setSourcePoints</a> (pcl::PCLPointCloud2::ConstPtr cloud2)</td></tr>
<tr class="memdesc:ab2339ca9a92f1d3406a8aa3f6fb13368"><td class="mdescLeft">&#160;</td><td class="mdescRight">Blob method for setting the source cloud <br /></td></tr>
<tr class="separator:ab2339ca9a92f1d3406a8aa3f6fb13368"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98ed0d6607391a9f6dcbb511035f1331"><td class="memItemLeft" align="right" valign="top"><a id="a98ed0d6607391a9f6dcbb511035f1331"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#a98ed0d6607391a9f6dcbb511035f1331">requiresTargetPoints</a> () const</td></tr>
<tr class="memdesc:a98ed0d6607391a9f6dcbb511035f1331"><td class="mdescLeft">&#160;</td><td class="mdescRight">See if this rejector requires a target cloud <br /></td></tr>
<tr class="separator:a98ed0d6607391a9f6dcbb511035f1331"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d99e873bfbda39f1c68d17f12035983"><td class="memItemLeft" align="right" valign="top"><a id="a7d99e873bfbda39f1c68d17f12035983"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#a7d99e873bfbda39f1c68d17f12035983">setTargetPoints</a> (pcl::PCLPointCloud2::ConstPtr cloud2)</td></tr>
<tr class="memdesc:a7d99e873bfbda39f1c68d17f12035983"><td class="mdescLeft">&#160;</td><td class="mdescRight">Method for setting the target cloud <br /></td></tr>
<tr class="separator:a7d99e873bfbda39f1c68d17f12035983"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac299f88afaad430a900047f867483c38"><td class="memTemplParams" colspan="2">template&lt;typename PointT &gt; </td></tr>
<tr class="memitem:ac299f88afaad430a900047f867483c38"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#ac299f88afaad430a900047f867483c38">setSearchMethodTarget</a> (const boost::shared_ptr&lt; <a class="el" href="classpcl_1_1search_1_1_kd_tree.html">pcl::search::KdTree</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt; &gt; &amp;tree, bool force_no_recompute=false)</td></tr>
<tr class="memdesc:ac299f88afaad430a900047f867483c38"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provide a pointer to the search object used to find correspondences in the target cloud.  <a href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#ac299f88afaad430a900047f867483c38">更多...</a><br /></td></tr>
<tr class="separator:ac299f88afaad430a900047f867483c38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classpcl_1_1registration_1_1_correspondence_rejector"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classpcl_1_1registration_1_1_correspondence_rejector')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector.html">pcl::registration::CorrespondenceRejector</a></td></tr>
<tr class="memitem:aece0e22dd156eaacff20b45069036483 inherit pub_methods_classpcl_1_1registration_1_1_correspondence_rejector"><td class="memItemLeft" align="right" valign="top"><a id="aece0e22dd156eaacff20b45069036483"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector.html#aece0e22dd156eaacff20b45069036483">CorrespondenceRejector</a> ()</td></tr>
<tr class="memdesc:aece0e22dd156eaacff20b45069036483 inherit pub_methods_classpcl_1_1registration_1_1_correspondence_rejector"><td class="mdescLeft">&#160;</td><td class="mdescRight">Empty constructor. <br /></td></tr>
<tr class="separator:aece0e22dd156eaacff20b45069036483 inherit pub_methods_classpcl_1_1registration_1_1_correspondence_rejector"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6cbaada1584e194daaad3fd0c2d4aee8 inherit pub_methods_classpcl_1_1registration_1_1_correspondence_rejector"><td class="memItemLeft" align="right" valign="top"><a id="a6cbaada1584e194daaad3fd0c2d4aee8"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector.html#a6cbaada1584e194daaad3fd0c2d4aee8">~CorrespondenceRejector</a> ()</td></tr>
<tr class="memdesc:a6cbaada1584e194daaad3fd0c2d4aee8 inherit pub_methods_classpcl_1_1registration_1_1_correspondence_rejector"><td class="mdescLeft">&#160;</td><td class="mdescRight">Empty destructor. <br /></td></tr>
<tr class="separator:a6cbaada1584e194daaad3fd0c2d4aee8 inherit pub_methods_classpcl_1_1registration_1_1_correspondence_rejector"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af69c08f02cc1a3f69920f73f1664f0d8 inherit pub_methods_classpcl_1_1registration_1_1_correspondence_rejector"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector.html#af69c08f02cc1a3f69920f73f1664f0d8">setInputCorrespondences</a> (const CorrespondencesConstPtr &amp;correspondences)</td></tr>
<tr class="memdesc:af69c08f02cc1a3f69920f73f1664f0d8 inherit pub_methods_classpcl_1_1registration_1_1_correspondence_rejector"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provide a pointer to the vector of the input correspondences.  <a href="classpcl_1_1registration_1_1_correspondence_rejector.html#af69c08f02cc1a3f69920f73f1664f0d8">更多...</a><br /></td></tr>
<tr class="separator:af69c08f02cc1a3f69920f73f1664f0d8 inherit pub_methods_classpcl_1_1registration_1_1_correspondence_rejector"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae43d54dc28964e8df4ab05b74c3b7135 inherit pub_methods_classpcl_1_1registration_1_1_correspondence_rejector"><td class="memItemLeft" align="right" valign="top">CorrespondencesConstPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector.html#ae43d54dc28964e8df4ab05b74c3b7135">getInputCorrespondences</a> ()</td></tr>
<tr class="memdesc:ae43d54dc28964e8df4ab05b74c3b7135 inherit pub_methods_classpcl_1_1registration_1_1_correspondence_rejector"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a pointer to the vector of the input correspondences.  <a href="classpcl_1_1registration_1_1_correspondence_rejector.html#ae43d54dc28964e8df4ab05b74c3b7135">更多...</a><br /></td></tr>
<tr class="separator:ae43d54dc28964e8df4ab05b74c3b7135 inherit pub_methods_classpcl_1_1registration_1_1_correspondence_rejector"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72c90f3fb93739b0366d3528cf7d502f inherit pub_methods_classpcl_1_1registration_1_1_correspondence_rejector"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector.html#a72c90f3fb93739b0366d3528cf7d502f">getCorrespondences</a> (pcl::Correspondences &amp;correspondences)</td></tr>
<tr class="memdesc:a72c90f3fb93739b0366d3528cf7d502f inherit pub_methods_classpcl_1_1registration_1_1_correspondence_rejector"><td class="mdescLeft">&#160;</td><td class="mdescRight">Run correspondence rejection  <a href="classpcl_1_1registration_1_1_correspondence_rejector.html#a72c90f3fb93739b0366d3528cf7d502f">更多...</a><br /></td></tr>
<tr class="separator:a72c90f3fb93739b0366d3528cf7d502f inherit pub_methods_classpcl_1_1registration_1_1_correspondence_rejector"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a1c8dff3bcce8f99ec98b9982838ffc inherit pub_methods_classpcl_1_1registration_1_1_correspondence_rejector"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector.html#a6a1c8dff3bcce8f99ec98b9982838ffc">getRejectedQueryIndices</a> (const pcl::Correspondences &amp;correspondences, std::vector&lt; int &gt; &amp;indices)</td></tr>
<tr class="memdesc:a6a1c8dff3bcce8f99ec98b9982838ffc inherit pub_methods_classpcl_1_1registration_1_1_correspondence_rejector"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determine the indices of query points of correspondences that have been rejected, i.e., the difference between the input correspondences (set via <em>setInputCorrespondences</em>) and the given correspondence vector.  <a href="classpcl_1_1registration_1_1_correspondence_rejector.html#a6a1c8dff3bcce8f99ec98b9982838ffc">更多...</a><br /></td></tr>
<tr class="separator:a6a1c8dff3bcce8f99ec98b9982838ffc inherit pub_methods_classpcl_1_1registration_1_1_correspondence_rejector"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5996af869d7aaa6b8b8dc156038dd3f inherit pub_methods_classpcl_1_1registration_1_1_correspondence_rejector"><td class="memItemLeft" align="right" valign="top"><a id="aa5996af869d7aaa6b8b8dc156038dd3f"></a>
const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector.html#aa5996af869d7aaa6b8b8dc156038dd3f">getClassName</a> () const</td></tr>
<tr class="memdesc:aa5996af869d7aaa6b8b8dc156038dd3f inherit pub_methods_classpcl_1_1registration_1_1_correspondence_rejector"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a string representation of the name of this class. <br /></td></tr>
<tr class="separator:aa5996af869d7aaa6b8b8dc156038dd3f inherit pub_methods_classpcl_1_1registration_1_1_correspondence_rejector"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08f07ed59490ee2c5d01a99d5589e306 inherit pub_methods_classpcl_1_1registration_1_1_correspondence_rejector"><td class="memItemLeft" align="right" valign="top"><a id="a08f07ed59490ee2c5d01a99d5589e306"></a>
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector.html#a08f07ed59490ee2c5d01a99d5589e306">requiresSourceNormals</a> () const</td></tr>
<tr class="memdesc:a08f07ed59490ee2c5d01a99d5589e306 inherit pub_methods_classpcl_1_1registration_1_1_correspondence_rejector"><td class="mdescLeft">&#160;</td><td class="mdescRight">See if this rejector requires source normals <br /></td></tr>
<tr class="separator:a08f07ed59490ee2c5d01a99d5589e306 inherit pub_methods_classpcl_1_1registration_1_1_correspondence_rejector"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f61f392a8d0c3da5502949cb22bba7d inherit pub_methods_classpcl_1_1registration_1_1_correspondence_rejector"><td class="memItemLeft" align="right" valign="top"><a id="a2f61f392a8d0c3da5502949cb22bba7d"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector.html#a2f61f392a8d0c3da5502949cb22bba7d">setSourceNormals</a> (pcl::PCLPointCloud2::ConstPtr)</td></tr>
<tr class="memdesc:a2f61f392a8d0c3da5502949cb22bba7d inherit pub_methods_classpcl_1_1registration_1_1_correspondence_rejector"><td class="mdescLeft">&#160;</td><td class="mdescRight">Abstract method for setting the source normals <br /></td></tr>
<tr class="separator:a2f61f392a8d0c3da5502949cb22bba7d inherit pub_methods_classpcl_1_1registration_1_1_correspondence_rejector"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3afeffa725f643d1ebc3c0545ea05be inherit pub_methods_classpcl_1_1registration_1_1_correspondence_rejector"><td class="memItemLeft" align="right" valign="top"><a id="ab3afeffa725f643d1ebc3c0545ea05be"></a>
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector.html#ab3afeffa725f643d1ebc3c0545ea05be">requiresTargetNormals</a> () const</td></tr>
<tr class="memdesc:ab3afeffa725f643d1ebc3c0545ea05be inherit pub_methods_classpcl_1_1registration_1_1_correspondence_rejector"><td class="mdescLeft">&#160;</td><td class="mdescRight">See if this rejector requires target normals <br /></td></tr>
<tr class="separator:ab3afeffa725f643d1ebc3c0545ea05be inherit pub_methods_classpcl_1_1registration_1_1_correspondence_rejector"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4bbb67f5066c674eba95b440bb4fd03a inherit pub_methods_classpcl_1_1registration_1_1_correspondence_rejector"><td class="memItemLeft" align="right" valign="top"><a id="a4bbb67f5066c674eba95b440bb4fd03a"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector.html#a4bbb67f5066c674eba95b440bb4fd03a">setTargetNormals</a> (pcl::PCLPointCloud2::ConstPtr)</td></tr>
<tr class="memdesc:a4bbb67f5066c674eba95b440bb4fd03a inherit pub_methods_classpcl_1_1registration_1_1_correspondence_rejector"><td class="mdescLeft">&#160;</td><td class="mdescRight">Abstract method for setting the target normals <br /></td></tr>
<tr class="separator:a4bbb67f5066c674eba95b440bb4fd03a inherit pub_methods_classpcl_1_1registration_1_1_correspondence_rejector"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-types"></a>
Protected 类型</h2></td></tr>
<tr class="memitem:af2a6ffe760ab22aee9dacf81ae397a61"><td class="memItemLeft" align="right" valign="top"><a id="af2a6ffe760ab22aee9dacf81ae397a61"></a>
typedef boost::shared_ptr&lt; <a class="el" href="classpcl_1_1registration_1_1_data_container_interface.html">DataContainerInterface</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>DataContainerPtr</b></td></tr>
<tr class="separator:af2a6ffe760ab22aee9dacf81ae397a61"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:a1338dcd7a8ea6f30597e40e022070484"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#a1338dcd7a8ea6f30597e40e022070484">applyRejection</a> (pcl::Correspondences &amp;correspondences)</td></tr>
<tr class="memdesc:a1338dcd7a8ea6f30597e40e022070484"><td class="mdescLeft">&#160;</td><td class="mdescRight">Apply the rejection algorithm.  <a href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#a1338dcd7a8ea6f30597e40e022070484">更多...</a><br /></td></tr>
<tr class="separator:a1338dcd7a8ea6f30597e40e022070484"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected 属性</h2></td></tr>
<tr class="memitem:a0701f699801000b624448ca77275abeb"><td class="memItemLeft" align="right" valign="top"><a id="a0701f699801000b624448ca77275abeb"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#a0701f699801000b624448ca77275abeb">max_distance_</a></td></tr>
<tr class="memdesc:a0701f699801000b624448ca77275abeb"><td class="mdescLeft">&#160;</td><td class="mdescRight">The maximum distance threshold between two correspondent points in source &lt;-&gt; target. If the distance is larger than this threshold, the points will not be ignored in the alignment process. <br /></td></tr>
<tr class="separator:a0701f699801000b624448ca77275abeb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2ca1693844e4c0e601ffe6644a7acb4"><td class="memItemLeft" align="right" valign="top"><a id="af2ca1693844e4c0e601ffe6644a7acb4"></a>
DataContainerPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#af2ca1693844e4c0e601ffe6644a7acb4">data_container_</a></td></tr>
<tr class="memdesc:af2ca1693844e4c0e601ffe6644a7acb4"><td class="mdescLeft">&#160;</td><td class="mdescRight">A pointer to the <a class="el" href="classpcl_1_1registration_1_1_data_container.html">DataContainer</a> object containing the input and target point clouds <br /></td></tr>
<tr class="separator:af2ca1693844e4c0e601ffe6644a7acb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classpcl_1_1registration_1_1_correspondence_rejector"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classpcl_1_1registration_1_1_correspondence_rejector')"><img src="closed.png" alt="-"/>&#160;Protected 属性 继承自 <a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector.html">pcl::registration::CorrespondenceRejector</a></td></tr>
<tr class="memitem:ab97eb70d3661574301fe1f978576726d inherit pro_attribs_classpcl_1_1registration_1_1_correspondence_rejector"><td class="memItemLeft" align="right" valign="top"><a id="ab97eb70d3661574301fe1f978576726d"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector.html#ab97eb70d3661574301fe1f978576726d">rejection_name_</a></td></tr>
<tr class="memdesc:ab97eb70d3661574301fe1f978576726d inherit pro_attribs_classpcl_1_1registration_1_1_correspondence_rejector"><td class="mdescLeft">&#160;</td><td class="mdescRight">The name of the rejection method. <br /></td></tr>
<tr class="separator:ab97eb70d3661574301fe1f978576726d inherit pro_attribs_classpcl_1_1registration_1_1_correspondence_rejector"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74d516ca516f7421fd86a53dec1a57b1 inherit pro_attribs_classpcl_1_1registration_1_1_correspondence_rejector"><td class="memItemLeft" align="right" valign="top"><a id="a74d516ca516f7421fd86a53dec1a57b1"></a>
CorrespondencesConstPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector.html#a74d516ca516f7421fd86a53dec1a57b1">input_correspondences_</a></td></tr>
<tr class="memdesc:a74d516ca516f7421fd86a53dec1a57b1 inherit pro_attribs_classpcl_1_1registration_1_1_correspondence_rejector"><td class="mdescLeft">&#160;</td><td class="mdescRight">The input correspondences. <br /></td></tr>
<tr class="separator:a74d516ca516f7421fd86a53dec1a57b1 inherit pro_attribs_classpcl_1_1registration_1_1_correspondence_rejector"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private 成员函数</h2></td></tr>
<tr class="memitem:aa5996af869d7aaa6b8b8dc156038dd3f"><td class="memItemLeft" align="right" valign="top"><a id="aa5996af869d7aaa6b8b8dc156038dd3f"></a>
const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#aa5996af869d7aaa6b8b8dc156038dd3f">getClassName</a> () const</td></tr>
<tr class="memdesc:aa5996af869d7aaa6b8b8dc156038dd3f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a string representation of the name of this class. <br /></td></tr>
<tr class="separator:aa5996af869d7aaa6b8b8dc156038dd3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:a74d516ca516f7421fd86a53dec1a57b1"><td class="memItemLeft" align="right" valign="top"><a id="a74d516ca516f7421fd86a53dec1a57b1"></a>
CorrespondencesConstPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#a74d516ca516f7421fd86a53dec1a57b1">input_correspondences_</a></td></tr>
<tr class="memdesc:a74d516ca516f7421fd86a53dec1a57b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">The input correspondences. <br /></td></tr>
<tr class="separator:a74d516ca516f7421fd86a53dec1a57b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab97eb70d3661574301fe1f978576726d"><td class="memItemLeft" align="right" valign="top"><a id="ab97eb70d3661574301fe1f978576726d"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#ab97eb70d3661574301fe1f978576726d">rejection_name_</a></td></tr>
<tr class="memdesc:ab97eb70d3661574301fe1f978576726d"><td class="mdescLeft">&#160;</td><td class="mdescRight">The name of the rejection method. <br /></td></tr>
<tr class="separator:ab97eb70d3661574301fe1f978576726d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p><b><a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html">CorrespondenceRejectorDistance</a></b> implements a simple correspondence rejection method based on thresholding the distances between the correspondences.</p>
<dl class="section note"><dt>注解</dt><dd>If <a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#a325d264ca520c808117d41284c6e268f">setInputCloud</a> and <a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#ab3aa90c191badfdc9880c10ebfc6ed74">setInputTarget</a> are given, then the distances between correspondences will be estimated using the given XYZ data, and not read from the set of input correspondences.</dd></dl>
<dl class="section author"><dt>作者</dt><dd>Dirk Holz, Radu B. Rusu </dd></dl>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a1338dcd7a8ea6f30597e40e022070484"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1338dcd7a8ea6f30597e40e022070484">&#9670;&nbsp;</a></span>applyRejection()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::registration::CorrespondenceRejectorDistance::applyRejection </td>
          <td>(</td>
          <td class="paramtype">pcl::Correspondences &amp;&#160;</td>
          <td class="paramname"><em>correspondences</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Apply the rejection algorithm. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">correspondences</td><td>the set of resultant correspondences. </td></tr>
  </table>
  </dd>
</dl>

<p>实现了 <a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector.html#a60dbdcf8f1005a1405dcab244a5c5608">pcl::registration::CorrespondenceRejector</a>.</p>
<div class="fragment"><div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;        {</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;          <a class="code" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#a7d8cc832aeffd38fdbc1f42dbdac9bf3">getRemainingCorrespondences</a> (*<a class="code" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#a74d516ca516f7421fd86a53dec1a57b1">input_correspondences_</a>, correspondences);</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;        }</div>
<div class="ttc" id="aclasspcl_1_1registration_1_1_correspondence_rejector_distance_html_a74d516ca516f7421fd86a53dec1a57b1"><div class="ttname"><a href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#a74d516ca516f7421fd86a53dec1a57b1">pcl::registration::CorrespondenceRejectorDistance::input_correspondences_</a></div><div class="ttdeci">CorrespondencesConstPtr input_correspondences_</div><div class="ttdoc">The input correspondences.</div><div class="ttdef"><b>Definition:</b> correspondence_rejection.h:191</div></div>
<div class="ttc" id="aclasspcl_1_1registration_1_1_correspondence_rejector_distance_html_a7d8cc832aeffd38fdbc1f42dbdac9bf3"><div class="ttname"><a href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#a7d8cc832aeffd38fdbc1f42dbdac9bf3">pcl::registration::CorrespondenceRejectorDistance::getRemainingCorrespondences</a></div><div class="ttdeci">void getRemainingCorrespondences(const pcl::Correspondences &amp;original_correspondences, pcl::Correspondences &amp;remaining_correspondences)</div><div class="ttdoc">Get a list of valid correspondences after rejection from the original set of correspondences.</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="a7d8cc832aeffd38fdbc1f42dbdac9bf3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d8cc832aeffd38fdbc1f42dbdac9bf3">&#9670;&nbsp;</a></span>getRemainingCorrespondences()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::registration::CorrespondenceRejectorDistance::getRemainingCorrespondences </td>
          <td>(</td>
          <td class="paramtype">const pcl::Correspondences &amp;&#160;</td>
          <td class="paramname"><em>original_correspondences</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">pcl::Correspondences &amp;&#160;</td>
          <td class="paramname"><em>remaining_correspondences</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get a list of valid correspondences after rejection from the original set of correspondences. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">original_correspondences</td><td>the set of initial correspondences given </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">remaining_correspondences</td><td>the resultant filtered set of remaining correspondences </td></tr>
  </table>
  </dd>
</dl>

<p>实现了 <a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector.html#a42fe3fe1efc3275e78833200bce2027e">pcl::registration::CorrespondenceRejector</a>.</p>

</div>
</div>
<a id="a325d264ca520c808117d41284c6e268f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a325d264ca520c808117d41284c6e268f">&#9670;&nbsp;</a></span>setInputCloud()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::registration::CorrespondenceRejectorDistance::setInputCloud </td>
          <td>(</td>
          <td class="paramtype">const typename <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::ConstPtr &amp;&#160;</td>
          <td class="paramname"><em>cloud</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Provide a source point cloud dataset (must contain XYZ data!), used to compute the correspondence distance. <br  />
 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">cloud</td><td>a cloud containing XYZ data </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;        {</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;          PCL_WARN (<span class="stringliteral">&quot;[pcl::registration::%s::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead.\n&quot;</span>, <a class="code" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#aa5996af869d7aaa6b8b8dc156038dd3f">getClassName</a> ().c_str ());</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;          <span class="keywordflow">if</span> (!<a class="code" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#af2ca1693844e4c0e601ffe6644a7acb4">data_container_</a>)</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;            <a class="code" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#af2ca1693844e4c0e601ffe6644a7acb4">data_container_</a>.reset (<span class="keyword">new</span> DataContainer&lt;PointT&gt;);</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;          boost::static_pointer_cast&lt;DataContainer&lt;PointT&gt; &gt; (<a class="code" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#af2ca1693844e4c0e601ffe6644a7acb4">data_container_</a>)-&gt;<a class="code" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#a8e0fe0309fac6f4f275990889769e402">setInputSource</a> (cloud);</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;        }</div>
<div class="ttc" id="aclasspcl_1_1registration_1_1_correspondence_rejector_distance_html_a8e0fe0309fac6f4f275990889769e402"><div class="ttname"><a href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#a8e0fe0309fac6f4f275990889769e402">pcl::registration::CorrespondenceRejectorDistance::setInputSource</a></div><div class="ttdeci">void setInputSource(const typename pcl::PointCloud&lt; PointT &gt;::ConstPtr &amp;cloud)</div><div class="ttdoc">Provide a source point cloud dataset (must contain XYZ data!), used to compute the correspondence dis...</div><div class="ttdef"><b>Definition:</b> correspondence_rejection_distance.h:119</div></div>
<div class="ttc" id="aclasspcl_1_1registration_1_1_correspondence_rejector_distance_html_aa5996af869d7aaa6b8b8dc156038dd3f"><div class="ttname"><a href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#aa5996af869d7aaa6b8b8dc156038dd3f">pcl::registration::CorrespondenceRejectorDistance::getClassName</a></div><div class="ttdeci">const std::string &amp; getClassName() const</div><div class="ttdoc">Get a string representation of the name of this class.</div><div class="ttdef"><b>Definition:</b> correspondence_rejection.h:135</div></div>
<div class="ttc" id="aclasspcl_1_1registration_1_1_correspondence_rejector_distance_html_af2ca1693844e4c0e601ffe6644a7acb4"><div class="ttname"><a href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#af2ca1693844e4c0e601ffe6644a7acb4">pcl::registration::CorrespondenceRejectorDistance::data_container_</a></div><div class="ttdeci">DataContainerPtr data_container_</div><div class="ttdoc">A pointer to the DataContainer object containing the input and target point clouds</div><div class="ttdef"><b>Definition:</b> correspondence_rejection_distance.h:202</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="a8e0fe0309fac6f4f275990889769e402"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8e0fe0309fac6f4f275990889769e402">&#9670;&nbsp;</a></span>setInputSource()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::registration::CorrespondenceRejectorDistance::setInputSource </td>
          <td>(</td>
          <td class="paramtype">const typename <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::ConstPtr &amp;&#160;</td>
          <td class="paramname"><em>cloud</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Provide a source point cloud dataset (must contain XYZ data!), used to compute the correspondence distance. <br  />
 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">cloud</td><td>a cloud containing XYZ data </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;        {</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;          <span class="keywordflow">if</span> (!<a class="code" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#af2ca1693844e4c0e601ffe6644a7acb4">data_container_</a>)</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;            <a class="code" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#af2ca1693844e4c0e601ffe6644a7acb4">data_container_</a>.reset (<span class="keyword">new</span> DataContainer&lt;PointT&gt;);</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;          boost::static_pointer_cast&lt;DataContainer&lt;PointT&gt; &gt; (<a class="code" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#af2ca1693844e4c0e601ffe6644a7acb4">data_container_</a>)-&gt;<a class="code" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#a8e0fe0309fac6f4f275990889769e402">setInputSource</a> (cloud);</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;        }</div>
</div><!-- fragment -->
</div>
</div>
<a id="ab3aa90c191badfdc9880c10ebfc6ed74"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab3aa90c191badfdc9880c10ebfc6ed74">&#9670;&nbsp;</a></span>setInputTarget()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::registration::CorrespondenceRejectorDistance::setInputTarget </td>
          <td>(</td>
          <td class="paramtype">const typename <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::ConstPtr &amp;&#160;</td>
          <td class="paramname"><em>target</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Provide a target point cloud dataset (must contain XYZ data!), used to compute the correspondence distance. <br  />
 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">target</td><td>a cloud containing XYZ data </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;        {</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;          <span class="keywordflow">if</span> (!<a class="code" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#af2ca1693844e4c0e601ffe6644a7acb4">data_container_</a>)</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;            <a class="code" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#af2ca1693844e4c0e601ffe6644a7acb4">data_container_</a>.reset (<span class="keyword">new</span> DataContainer&lt;PointT&gt;);</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;          boost::static_pointer_cast&lt;DataContainer&lt;PointT&gt; &gt; (<a class="code" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#af2ca1693844e4c0e601ffe6644a7acb4">data_container_</a>)-&gt;<a class="code" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#ab3aa90c191badfdc9880c10ebfc6ed74">setInputTarget</a> (target);</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;        }</div>
<div class="ttc" id="aclasspcl_1_1registration_1_1_correspondence_rejector_distance_html_ab3aa90c191badfdc9880c10ebfc6ed74"><div class="ttname"><a href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#ab3aa90c191badfdc9880c10ebfc6ed74">pcl::registration::CorrespondenceRejectorDistance::setInputTarget</a></div><div class="ttdeci">void setInputTarget(const typename pcl::PointCloud&lt; PointT &gt;::ConstPtr &amp;target)</div><div class="ttdoc">Provide a target point cloud dataset (must contain XYZ data!), used to compute the correspondence dis...</div><div class="ttdef"><b>Definition:</b> correspondence_rejection_distance.h:131</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="a86c67f088639814c85bef19e4d7409ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a86c67f088639814c85bef19e4d7409ad">&#9670;&nbsp;</a></span>setMaximumDistance()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void pcl::registration::CorrespondenceRejectorDistance::setMaximumDistance </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>distance</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the maximum distance used for thresholding in correspondence rejection. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">distance</td><td>Distance to be used as maximum distance between correspondences. Correspondences with larger distances are rejected. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>注解</dt><dd>Internally, the distance will be stored squared. </dd></dl>
<div class="fragment"><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;{ <a class="code" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#a0701f699801000b624448ca77275abeb">max_distance_</a> = <a class="code" href="common_2include_2pcl_2common_2geometry_8h.html#a2fc89f0c26b7c7377fcd2851fa933b87">distance</a> * <a class="code" href="common_2include_2pcl_2common_2geometry_8h.html#a2fc89f0c26b7c7377fcd2851fa933b87">distance</a>; };</div>
<div class="ttc" id="aclasspcl_1_1registration_1_1_correspondence_rejector_distance_html_a0701f699801000b624448ca77275abeb"><div class="ttname"><a href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#a0701f699801000b624448ca77275abeb">pcl::registration::CorrespondenceRejectorDistance::max_distance_</a></div><div class="ttdeci">float max_distance_</div><div class="ttdoc">The maximum distance threshold between two correspondent points in source &lt;-&gt; target....</div><div class="ttdef"><b>Definition:</b> correspondence_rejection_distance.h:197</div></div>
<div class="ttc" id="acommon_2include_2pcl_2common_2geometry_8h_html_a2fc89f0c26b7c7377fcd2851fa933b87"><div class="ttname"><a href="common_2include_2pcl_2common_2geometry_8h.html#a2fc89f0c26b7c7377fcd2851fa933b87">pcl::geometry::distance</a></div><div class="ttdeci">float distance(const PointT &amp;p1, const PointT &amp;p2)</div><div class="ttdef"><b>Definition:</b> geometry.h:60</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="ac299f88afaad430a900047f867483c38"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac299f88afaad430a900047f867483c38">&#9670;&nbsp;</a></span>setSearchMethodTarget()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::registration::CorrespondenceRejectorDistance::setSearchMethodTarget </td>
          <td>(</td>
          <td class="paramtype">const boost::shared_ptr&lt; <a class="el" href="classpcl_1_1search_1_1_kd_tree.html">pcl::search::KdTree</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt; &gt; &amp;&#160;</td>
          <td class="paramname"><em>tree</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>force_no_recompute</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Provide a pointer to the search object used to find correspondences in the target cloud. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">tree</td><td>a pointer to the spatial search object. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">force_no_recompute</td><td>If set to true, this tree will NEVER be recomputed, regardless of calls to setInputTarget. Only use if you are confident that the tree will be set correctly. </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;        { </div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;          boost::static_pointer_cast&lt; DataContainer&lt;PointT&gt; &gt; </div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;            (<a class="code" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#af2ca1693844e4c0e601ffe6644a7acb4">data_container_</a>)-&gt;<a class="code" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#ac299f88afaad430a900047f867483c38">setSearchMethodTarget</a> (tree, force_no_recompute );</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;        }</div>
<div class="ttc" id="aclasspcl_1_1registration_1_1_correspondence_rejector_distance_html_ac299f88afaad430a900047f867483c38"><div class="ttname"><a href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html#ac299f88afaad430a900047f867483c38">pcl::registration::CorrespondenceRejectorDistance::setSearchMethodTarget</a></div><div class="ttdeci">void setSearchMethodTarget(const boost::shared_ptr&lt; pcl::search::KdTree&lt; PointT &gt; &gt; &amp;tree, bool force_no_recompute=false)</div><div class="ttdoc">Provide a pointer to the search object used to find correspondences in the target cloud.</div><div class="ttdef"><b>Definition:</b> correspondence_rejection_distance.h:175</div></div>
</div><!-- fragment -->
</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>registration/include/pcl/registration/<a class="el" href="correspondence__rejection__distance_8h_source.html">correspondence_rejection_distance.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>pcl</b></li><li class="navelem"><b>registration</b></li><li class="navelem"><a class="el" href="classpcl_1_1registration_1_1_correspondence_rejector_distance.html">CorrespondenceRejectorDistance</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
